﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebSystem.login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            text-align: center;
        }
        .auto-style2 {
            width: 100%;
            z-index: 1;
            left: 10px;
            top: 330px;
            position: absolute;
            height: 153px;
        }
        .auto-style4 {
            height: 20px;
            width: 685px;
            text-align: right;
        }
        .auto-style5 {
            height: 23px;
            width: 685px;
            text-align: right;
        }
        .auto-style6 {
            height: 20px;
            text-align: left;
            width: 251px;
        }
        .auto-style7 {
            text-align: left;
            height: 23px;
            width: 251px;
        }
        .auto-style8 {
            height: 23px;
            width: 226px;
        }
        .auto-style9 {
            width: 685px;
            text-align: right;
        }
        .auto-style10 {
            height: 20px;
            width: 226px;
        }
        .auto-style11 {
            width: 226px;
        }
        .auto-style12 {
            height: 20px;
            width: 251px;
        }
        .auto-style13 {
            width: 251px;
        }
        .auto-style14 {
            width: 685px;
            text-align: right;
            height: 33px;
        }
        .auto-style15 {
            width: 226px;
            height: 33px;
        }
        .auto-style16 {
            width: 251px;
            height: 33px;
        }
    </style>
</head>
<body style="height: 565px; width: 1201px; text-align: center">
    <form id="form1" runat="server">
        <div class="auto-style1" style="height: 799px; background-image: url('背景/Cghzf1Sye9GAIDP_AAMgxrhWT6Y761.jpg'); background-repeat: no-repeat; width: 1183px; margin-left: 73px;">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            <br />
            <br />
&nbsp;&nbsp;&nbsp;<br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;
            <br />
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;<br />
            <br />
            &nbsp;<br />
            <table class="auto-style2">
                <tr>
                    <td class="auto-style5">
                        &nbsp;</td>
                    <td class="auto-style8">
                        <asp:Label ID="Label4" runat="server" BackColor="#B1A494" Font-Size="XX-Large" Text="用户登录"></asp:Label>
                    </td>
                    <td class="auto-style7">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style5">
            <asp:Label ID="lblUser" runat="server" Text="用户：" BackColor="#B1A494"></asp:Label>
                    </td>
                    <td class="auto-style8">
            <asp:TextBox ID="txtUser" runat="server" BackColor="#F0F0F0"></asp:TextBox>
                    </td>
                    <td class="auto-style7">
            <asp:RequiredFieldValidator ID="rfvUser" runat="server" ControlToValidate="txtUser" ErrorMessage="！用户账号不能为空" Font-Bold="True" Font-Size="Small" ForeColor="Red" BackColor="#857E78"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style4">
            <asp:Label ID="lblPwd" runat="server" Text="    密码 ：" BackColor="#B1A494"></asp:Label>
                    </td>
                    <td class="auto-style10">
            <asp:TextBox ID="txtPwd" runat="server" BackColor="#F0F0F0" TextMode="Password"></asp:TextBox>
                    </td>
                    <td class="auto-style6">
            <asp:RequiredFieldValidator ID="rfvPwd" runat="server" ControlToValidate="txtPwd" ErrorMessage="！密码不能为空" Font-Bold="True" Font-Size="Small" ForeColor="Red" BackColor="#857E76"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style4">
            <asp:Label ID="Label3" runat="server" Text="用户类型:" BackColor="#B1A494"></asp:Label>
                    </td>
                    <td class="auto-style10">
            <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" style="margin-bottom: 6px">
                <asp:ListItem>请选择</asp:ListItem>
                <asp:ListItem>教师</asp:ListItem>
                <asp:ListItem>学生</asp:ListItem>
                <asp:ListItem>管理员</asp:ListItem>
            </asp:DropDownList>
                    </td>
                    <td class="auto-style12"></td>
                </tr>
                <tr>
                    <td class="auto-style14"></td>
                    <td class="auto-style15"> <asp:Button ID="btnLogin" runat="server" Font-Size="Large" OnClick="btnLogin_Click1" Text="登录" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btnExit" runat="server" Font-Size="Large" OnClick="btnLogin_Click1" Text="重置" />
                        &nbsp;&nbsp;
                    </td>
                    <td class="auto-style16"></td>
                </tr>
                <tr>
                    <td class="auto-style9">&nbsp;</td>
                    <td class="auto-style11">
            <asp:Label ID="lblmsg" runat="server" BackColor="#B1A494" ForeColor="#FF3300"></asp:Label>
                    </td>
                    <td class="auto-style13">&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style9">&nbsp;</td>
                    <td class="auto-style11">&nbsp;</td>
                    <td class="auto-style13">&nbsp;</td>
                </tr>
            </table>
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            <br />
            &nbsp;<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014115121ConnectionString %>" SelectCommand="SELECT DISTINCT [Memo] FROM [UserInfo]"></asp:SqlDataSource>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;
            <br />
            <br />
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        </div>
    </form>
</body>
</html>
